#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h> 
#include <time.h>
#include <math.h>

int MINE_COUNT;
int ROW;
int COL;
#define ROWS (ROW + 2)
#define COLS (COL + 2)

int primary_menu();
void game();
void setup_menu();
void Initialize_Chessboard(char board[32][32], char init_Value);
void Print_Board(char board[32][32]);
void SetMine(char mine[32][32], int mine_count);
void FindMine(char mine[32][32], char show[32][32]);
int CountSurroundingMines(int x, int y, char mine[32][32], char show[32][32], int flag);